//
//  VideoForCollectionViewCell.m
//  随拍
//
//  Created by lanou3g on 16/1/18.
//  Copyright © 2016年 Ashoka. All rights reserved.
//

#import "VideoForCollectionViewCell.h"

@implementation VideoForCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        self.imgView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height - 30)];
        
        self.imgView.backgroundColor = [UIColor lightGrayColor];
        
        [self.contentView addSubview:self.imgView];
        
        self.nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(50, self.contentView.frame.size.height-30, self.contentView.frame.size.width-50, 30)];
        

        
        [self.contentView addSubview:self.nameLabel];
        
        self.headView = [[UIImageView alloc]initWithFrame:CGRectMake(5, self.contentView.frame.size.height-30, 30, 30)];
        
        self.headView.layer.cornerRadius = 10;
        self.headView.layer.masksToBounds = YES;
        self.headView.backgroundColor = [UIColor redColor];
        
        [self.contentView addSubview:self.headView];
        
        
        
        
        
        
    }
    return self;
}

@end
